<style lang="scss" scoped>
  @import "@/assets/css/variable";
  .wrapper{
    // background-color: $main-bgc;
  }
</style>
<template>
  <div class="wrapper">
    <transition name="van-fade">
      <keep-alive include="home,course,message,my">
        <router-view/>
      </keep-alive>
    </transition>
    <my-tabbar></my-tabbar>
  </div>
</template>
<script>
import Tabbar from "../components/Tabbar.vue";
export default {
  components: {
    myTabbar: Tabbar
  },
  data() {
    return {
      
    }
  },
  mounted() {
  	// this.$on('toCourse', (val)=>{
  	// 	console.log(val,'val')
  	// })
	console.log("wrapper")
  }
};
</script>
